include $(ERP_BASE_PATH)/comm/makefile.comm.v2


INCLUDE = -I../include -I$(ERP_BASE_PATH)/comm/export_include/ \
	-I$(INC_AUCTION_PATH) \
	-I$(GIS_BASE_PATH)/export_include/ \
	-I$(ERP_BASE_PATH)/comm/export_include/app_platform \
	-I$(ERP_BASE_PATH)/comm/export_include/libc2c 
		  
LIB = -L$(LIB_EXPORT_PATH) -lapcgibase -lcomponent_configcenter_set -llibrary_log2 -llibrary_module_invoke_api -llogclient -llibrary_xml -llibrary_the3_tinyxml -llibrary_the3_pcre \
	  
OUTPUT  = gismanageao_test

OBJS    = gismanageao_test.o

all:$(OUTPUT)

.SUFFIXES: .o .cpp
.cpp.o:
	$(CXX) $(CFLAGS) $(INCLUDE) -c $^ 

.o:
	$(CXX) $(CFLAGS) $(INCLUDE) -o $@ $^

$(OUTPUT): $(OBJS)
	$(CXX) $(CFLAGS) -o $@ $^ ${LIB}
	
clean:
	rm -f *.o *.~ *.bak
	rm -f $(OUTPUT)

dep:
	mkdep $(INCLUDE) $(SOURCES) > .depend

ifneq ($(wildcard .depend),)
include .depend
endif
